/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sadhar.sipp.application;

import org.sadhar.sia.framework.ClassApplicationModule;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zul.Div;

/**
 *
 * @author hendro
 */
public class IndexWnd extends ClassApplicationModule  {

    Div contentDiv;

    public IndexWnd() {
    }

    public void onCreate() throws Exception {
        contentDiv = (Div) getFellow("contentDiv");
    }

    public void showObject(String objName) {
        contentDiv.getChildren().clear();
        Executions.createComponents(objName, contentDiv, null);
    }
}
